package com.houtai.bean.dto.article;


import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel(value="园区文章列表所需参数", description="园区文章列表所需参数")
public class CampusArticleListDto extends Page {

    /**
     * 1后台新闻2园区动态3园区活动
     */
    @NotNull(message = "新闻类别不能为空")
    @ApiModelProperty(value="新闻类别2园区动态3园区活动", name="arti_type", example = "2")
    private Integer arti_type = 0;

    /**
     * 园区id
     */
    @NotNull(message = "园区id不能为空")
    @ApiModelProperty(value="园区id", name="campus_id", example = "1")
    private Integer campus_id = 0;
    /**
     * 文章名称
     */
    private String arti_name = "100000000";
    public Integer getArti_type() {
        return arti_type;
    }

    public void setArti_type(Integer arti_type) {
        this.arti_type = arti_type;
    }

    public Integer getCampus_id() {
        return campus_id;
    }

    public void setCampus_id(Integer campus_id) {
        this.campus_id = campus_id;
    }

    public String getArti_name() {
        return arti_name;
    }

    public void setArti_name(String arti_name) {
        this.arti_name = arti_name;
    }
}
